


#include "message.h"
#include "interpreter.h"
#include "customerArrivalInterpreter.h"
#include "../tools/log.h"

#include <cstdio>
#include <iostream>

void CustomerArrival::interpret(Interpreter* intpr)
{
CustomerArrivalInterpreter* tmp=dynamic_cast<CustomerArrivalInterpreter*>(intpr);
if (tmp!=NULL)
{
   tmp->execute(this);
}
else
{FILE_LOG(logDEBUG)<<"CurstomerArrival.interpret: This model entity can not interpret me."<<std::endl;
}
}